pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hv-home.txt
for /f %%i in ('findstr /i . hv-home.txt 2^>nul') do dism /online /norestart /remove-package:"%SystemRoot%\servicing\Packages\%%i"
rem del hv-home.txt
rem Dism -help

rem dism.exe /online /Disable-Feature /FeatureName:Microsoft-Hyper-V-All
rem Dism /disable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL
rem Dism /online /disable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL
pause